package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.Planunit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlanUnitMapper {
    List<Planunit> selectPlanUnit(@Param("planunit") Planunit planunit, @Param("home") int home, @Param("limit") int limit);
    int selectCount(@Param("planunit") Planunit planunit);

    void insertPlanunit(@Param("planunit") Planunit planunit);

    void deleteplanunits( int[] plaIds);

    void updatePlanunit(@Param("planunit") Planunit planunit,@Param("prdId") String prdId);
}
